<extend name="public@emptypage" />
<block name="content">
<div class="card">
	<div class="card-header card-header-primary">

				<ul class="nav nav-tabs" data-tabs="tabs">
			<li class="nav-item">
				<a class="nav-link active" href="{:url('slide/index')}">幻灯片列表</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="{:url('slide/add')}">添加幻灯片</a>
			</li>
		</ul>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
					<table class="table table-hover table-bordered margin-top-20">
						<thead>
							<tr>
								<th width="50">ID</th>
								<th>幻灯片</th>
								<th>备注</th>
								<th width="160">{:lang('ACTIONS')}</th>
							</tr>
						</thead>
						<tbody>
							<php>
			
							</php>
							<foreach name="slides" item="vo">
							<tr>
								<td>{$vo.id}</td>
								<td>{$vo.name}</td>
								<td>
									{$vo.remark}
								</td>
								<td>
			                        <a href="{:url('slide/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
									<a href="javascript:parent.openIframeLayer('{:url('slideItem/index',array('slide_id'=>$vo['id']))}','管理 {$vo.name} 页面',{});">管理页面</a>
			                        <a href="{:url('slide/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
			                    </td>
							</tr>
							</foreach>
						</tbody>
					</table>
			

			</div>
		</div>
	</div>
</block>
<block name="script">

	<script src="__STATIC__/js/admin.js"></script>

</block>